package com.ruoyi.question.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.Date;

/**
 * 问题分类对象 e_question_categorization
 *
 * @author ruoyi
 * @date 2024-11-26
 */
@Data
public class EQuestionCategorization extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private Long id;

    /** 中文名称 */
    @Excel(name = "中文名称")
    private String chineseNomenclature;

    /** 英文名称 */
    @Excel(name = "英文名称")
    private String englishNomenclature;

    /** 客户端 */
    @Excel(name = "客户端")
    private Long clientSide;

    /** 排序号 */
    @Excel(name = "排序号")
    private Long sequenceNumber;

    /** 状态 */
    @Excel(name = "状态")
    private Long questionCategorizationStatus;

    /** 引用状态 */
    @Excel(name="引用状态")
    private Long referencedStatus;

    /** 创建时间 */
    @Excel(name="创建时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 最后修改时间 */
    @Excel(name="最后修改时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date lastModifiedTime;


    /** 创建开始时间 */
    @TableField(exist = false)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date startCreateTime;

    /** 创建结束时间 */
    @TableField(exist = false)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date endCreateTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setChineseNomenclature(String chineseNomenclature)
    {
        this.chineseNomenclature = chineseNomenclature;
    }

    public String getChineseNomenclature()
    {
        return chineseNomenclature;
    }
    public void setEnglishNomenclature(String englishNomenclature)
    {
        this.englishNomenclature = englishNomenclature;
    }

    public String getEnglishNomenclature()
    {
        return englishNomenclature;
    }
    public void setClientSide(Long clientSide)
    {
        this.clientSide = clientSide;
    }

    public Long getClientSide()
    {
        return clientSide;
    }
    public void setSequenceNumber(Long sequenceNumber)
    {
        this.sequenceNumber = sequenceNumber;
    }

    public Long getSequenceNumber()
    {
        return sequenceNumber;
    }
    public void setQuestionCategorizationStatus(Long questionCategorizationStatus)
    {
        this.questionCategorizationStatus = questionCategorizationStatus;
    }

    public Long getQuestionCategorizationStatus()
    {
        return questionCategorizationStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("chineseNomenclature", getChineseNomenclature())
            .append("englishNomenclature", getEnglishNomenclature())
            .append("clientSide", getClientSide())
            .append("sequenceNumber", getSequenceNumber())
            .append("createTime", getCreateTime())
            .append("questionCategorizationStatus", getQuestionCategorizationStatus())
            .toString();
    }
}
